package com.interview.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.interview.entity.SignedInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface SignedInfoMapper extends BaseMapper<SignedInfo> {

    @Select("SELECT group_id,COUNT(*) FROM signed_info GROUP BY group_id")
    List<Map<String,String>> getSignedStatics();
}
